package com.ds.esd.formula.menu;

import com.ds.enums.attribute.Attributetype;
import com.ds.esd.tool.ui.enums.ItemType;

public enum FormulaPagePlugins implements ItemType {
    PAGE(Attributetype.PAGE);


//    PAGE("spafont spa-icon-page", "页面属性", EngineType.CUSTOM),
//
//    DB("spafont spa-icon-c-grid", "数据库", EngineType.CUSTOM),
//
//    RIGHT("xui-uicmd-cmdbox", "权限属性", EngineType.CUSTOM),
//
//    TASK("bpmfont bpmgongzuoliuzhutiguizeweihuguanli", "任务调度", EngineType.CUSTOM),
//
//    EXPRESSION("spafont spa-icon-function", "表达式调用", EngineType.CUSTOM),
//
//    SERVICEEVENT("SERVICEEVENT", "服务事件属性", EngineType.ESB),
//
//    SERVICE("spafont spa-icon-event", "服务属性", EngineType.ESB),
//
//    EVENT("spafont spa-icon-event", "事件属性", EngineType.IOT),
//
//    DEVICE("spafont spa-icon-event", "事件属性", EngineType.IOT),
//
//    DEVICEEVENT("spafont spa-icon-event", "设备事件属性", EngineType.IOT),
//
//    USEREVENT("spafont spa-icon-event", "用户事件属性", EngineType.IOT),
//
//    COMMAND("spafont spa-icon-mqtt", "命令", EngineType.IOT);
//


    private String id;
    private String caption;
    private String imageClass;
    private String className = "admin.formula.CustomFormula";


    FormulaPagePlugins(Attributetype attributetype) {
        this.id = attributetype.name();
        this.caption = attributetype.getName();
        this.imageClass = attributetype.getImageClass();
        this.className = className;
    }

    public String getClassName() {
        return className;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getImageClass() {
        return imageClass;
    }

    @Override
    public String getCaption() {
        return caption;
    }

}
